#include<stdio.h>
#include<string.h>
int main(int argc, const char *argv[])
{
	char s1[] = "asbcdefgh";
	int ch;

	ch = 's';

	printf("%d \n",strchr(s1,ch)-s1);
	return 0;
}
